Documentation for Users  2.2.2
Perception Toolbox for Virtual Reality (PTVR) Manual
alignment_of_text.py File Reference

Go to the source code of this file.

Namespaces

 alignment_of_text
 

Functions

def calculate_textbox_size_in_m (text_box_size_deg)
 # More...
 
def draw_textbox (my_scene, my_world, width, height, position)
 
def draw_text (my_scene, my_world, my_vertical_alignment, my_sentence, text_box_size_m)
 
def main ()
 

Variables

float angular_x_height = 1.5
 
string horizontal_alignment = "Center"
 
string vertical_alignment = "Midline"
 
float viewing_distance = 1.0
 
string subject_name = "eric"
 
float height_of_viewpoint_in_m = 1.0
 
 viewpoint_position = np.array([0, height_of_viewpoint_in_m, 0])